
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/x-icon" href="style/favicon.ico"/>
<link href="style/style.css" rel="stylesheet" type="text/css" />
<link href="style/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-3.5.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/gatling.js"></script>
<script src="js/menu.js"></script>
<script src="js/ellipsis.js"></script>
<script src="js/all_sessions.js"></script>
<script src="js/stats.js"></script>
<script src="js/highstock.js"></script>
<script src="js/highcharts-more.js"></script>
<script src="js/theme.js"></script>
<script src="js/unpack.js"></script>
<title>Gatling Stats - busca inválida</title>
</head>
<body>
<div class="app-container">
<div class="frise"></div>
<div class="head">
  <div class="gatling-open-source">
    <a class="gatling-logo" href="https://gatling.io" target="blank_" title="Gatling Home Page"><img alt="Gatling" src="style/logo.svg"/></a>
    <a class="gatling-documentation" href="https://gatling.io/docs/" target="_blank">Documentation</a>
  </div>
  <a class="enterprise" href="https://gatling.io/enterprise/next-step/" target="_blank">Try <img alt="Gatling Enterprise" src="style/logo-enterprise.svg"/></a></div>
<div class="container details">
  <div class="nav">
    <ul></ul>
  </div>
    <div class="cadre">
      <div class="content">
        <div class="content-header">
          <div class="onglet">
            RinhaBackendSimulation
          </div>
          <div class="sous-menu" id="sousMenu">
            <div class="sous-menu-spacer">
              <div class="item "><a href="index.html">Global</a></div>
                <div class="item ouvert"><a id="details_link" href="#">Details</a></div>
              </div>
            </div>
          </div>
          <div class="content-in">
            <div class="container-article">
            <div class="article">
              
              
<div class="schema-container">

            <div id="ranges" class="schema ranges-large">
            </div>

                        <div class="infos">
                            <div class="infos-in">
	                        <div class="infos-title">Stats</div>
                                <div class="repli"></div>                               
                                <div class="info">
                                    <h2 class="first">Executions</h2>
                                    <table>
                                        <thead>
                                            <tr><th></th><th>Total</th><th>OK</th><th>KO</th></tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td class="title">Total count</td>
                                                <td id="numberOfRequests" class="total"></td>
                                                <td id="numberOfRequestsOK" class="ok"></td>
                                                <td id="numberOfRequestsKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Mean count/s</abbr></td>
                                                <td id="meanNumberOfRequestsPerSecond" class="total"></td>
                                                <td id="meanNumberOfRequestsPerSecondOK" class="ok"></td>
                                                <td id="meanNumberOfRequestsPerSecondKO" class="ko"></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <h2 class="second">Response Time (ms)</h2>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th></th>
                                                <th>Total</th>
                                                <th>OK</th>
                                                <th>KO</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td class="title">Min</td>
                                                <td id="minResponseTime" class="total"></td>
                                                <td id="minResponseTimeOK" class="ok"></td>
                                                <td id="minResponseTimeKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">50th percentile</td>
                                                <td id="percentiles1" class="total"></td>
                                                <td id="percentiles1OK" class="ok"></td>
                                                <td id="percentiles1KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">75th percentile</td>
                                                <td id="percentiles2" class="total"></td>
                                                <td id="percentiles2OK" class="ok"></td>
                                                <td id="percentiles2KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">95th percentile</td>
                                                <td id="percentiles3" class="total"></td>
                                                <td id="percentiles3OK" class="ok"></td>
                                                <td id="percentiles3KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">99th percentile</td>
                                                <td id="percentiles4" class="total"></td>
                                                <td id="percentiles4OK" class="ok"></td>
                                                <td id="percentiles4KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Max</td>
                                                <td id="maxResponseTime" class="total"></td>
                                                <td id="maxResponseTimeOK" class="ok"></td>
                                                <td id="maxResponseTimeKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Mean</td>
                                                <td id="meanResponseTime" class="total"></td>
                                                <td id="meanResponseTimeOK" class="ok"></td>
                                                <td id="meanResponseTimeKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Standard Deviation</td>
                                                <td id="standardDeviation" class="total"></td>
                                                <td id="standardDeviationOK" class="ok"></td>
                                                <td id="standardDeviationKO" class="ko"></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>

</div>
<div class="statistics extensible-geant collapsed">
    <div class="title">
        Errors
    </div>
    <table id="container_errors" class="statistics-in extensible-geant">
        <thead>
            <tr>
                <th id="error-col-1" class="header sortable"><span>Error</span></th>
                <th id="error-col-2" class="header sortable"><span>Count</span></th>
                <th id="error-col-3" class="header sortable"><span>Percentage</span></th>
            </tr>
        </thead>
		<tbody>
		    
		    <tr>
		    	<td class="error-col-1 total ko">j.n.ConnectException: finishConnect(..) failed: Connection refused<span class="value" style="display:none">0</span></td>
		    	<td class="value error-col-2 total ko">4190</td>
		    	<td class="value error-col-3 total ko">100 %</td>
		    </tr>
		</tbody>
    </table>
</div>

            <div class="schema geant">
              <div id="responsetimeDistributionContainer" class="geant"></div>
            </div>

            <div class="schema geant">
              <div id="responsetimepercentilesovertimeokPercentilesContainer" class="geant"></div>
            </div>

            <div class="schema geant">
                <div id="requests" class="geant"></div>
            </div>

            <div class="schema geant">
                <div id="responses" class="geant"></div>
            </div>

            <div class="schema geant">
              <div id="container_response_time_dispersion" class="geant"></div>
            </div>

            </div>
          </div>
        </div>
      </div>
    </div>
</div>
<script>
    var pageStats = stats.contents['req_busca-inva-lida-b5618'].stats;
    $(document).ready(function() {
        $('.simulation-tooltip').popover({trigger:'hover', placement:'left'});
        setDetailsLinkUrl();
        setDetailsMenu();
        setActiveMenu();
        fillStats(pageStats);
        
Highcharts.setOptions({
  global: { useUTC: false }
});

var rangesChart = new Highcharts.Chart({
  chart: {
    renderTo: 'ranges',
    marginRight: 100
  },
  credits: { enabled: false },
  legend: { enabled: false },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  xAxis: {
    categories: [
      pageStats.group1.htmlName,
      pageStats.group2.htmlName,
      pageStats.group3.htmlName,
      pageStats.group4.htmlName
    ]
  },
  yAxis: {
    title: { text: 'Number of Requests' },
    reversedStacks: false
  },
  tooltip: {
    formatter: function() {
      var s;
      if (this.point.name) { // the pie chart
        s = ''+ this.point.name +': '+ this.y +'% requests';
      } else {
        s = ''+ this.y + ' requests';
      }
      return s;
    }
  },
  plotOptions: {
    series: {
      stacking: 'normal',
      shadow: true
    }
  },
  series: [
    {
      type: 'column',
      data: [{
      	color: '#68b65c',
      	y: pageStats.group1.count
      },
      {
      	color: '#FFDD00',
      	y: pageStats.group2.count
      },
      {
      	color: '#FFA900',
      	y: pageStats.group3.count
      },
      {
      	color: '#f15b4f',
      	y: pageStats.group4.count
      }]
    },
    {
      type: 'pie',
      name: 'Percentages',
      data: [
        {
          name: pageStats.group1.name,
          y: pageStats.group1.percentage,
          color: '#68b65c'
        },
        {
          name: pageStats.group2.name,
          y: pageStats.group2.percentage,
          color: '#FFDD00'
        },
        {
          name: pageStats.group3.name,
          y: pageStats.group3.percentage,
          color: '#FFA900'
        },
        {
          name: pageStats.group4.name,
          y: pageStats.group4.percentage,
          color: '#f15b4f'
        }
      ],
      center: [368, 0],
      size: 90,
      showInLegend: false,
      dataLabels: { enabled: false }
    }
  ]
});

rangesChart.setTitle({
  text: '<span class="chart_title">Response Time Ranges</span>',
  useHTML: true
});

	    $('#container_errors').sortable('#container_errors');
    
var responsetimeDistributionChart = new Highcharts.Chart({
  chart: {
    renderTo: 'responsetimeDistributionContainer',
    type: 'column',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: 5,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  xAxis: {
    categories: ['0', '1', '2', '3', '4', '10'],
    tickInterval: 20
  },
  yAxis: {
    min: 0,
    title: { text: 'Percentage of Requests' },
    reversedStacks: false
  },
  tooltip: {
    formatter: function() {
      return '<b>'+ this.x +' ms</b><br/>'+
      this.series.name +': '+ this.y +' %<br/>'+
      'Total: '+ this.point.stackTotal + ' %';
    }
  },
  plotOptions: {
    series: {
      groupPadding: 0,
      stacking: 'normal',
	    shadow: true
    }
  },
  series: [
  	{
type: 'column',
color: '#68b65c',
name: 'OK',
data: [
  
],
tooltip: { yDecimals: 0, ySuffix: 'ms' }
},
  	{
type: 'column',
color: '#f15b4f',
name: 'KO',
data: [
  77.94,21.57,0.31,0.04,0.09,0.02
],
tooltip: { yDecimals: 0, ySuffix: 'ms' }
}
  ]
});

responsetimeDistributionChart.setTitle({
  text: '<span class="chart_title">Response Time Distribution</span>',
  useHTML: true
});

var responsetimepercentilesovertimeokPercentiles = unpack([[1692822752,null],[1692822753,null],[1692822754,null],[1692822755,null],[1692822756,null],[1692822757,null],[1692822758,null],[1692822759,null],[1692822760,null],[1692822761,null],[1692822762,null],[1692822763,null],[1692822764,null],[1692822765,null],[1692822766,null],[1692822767,null],[1692822768,null],[1692822769,null],[1692822770,null],[1692822771,null],[1692822772,null],[1692822773,null],[1692822774,null],[1692822775,null],[1692822776,null],[1692822777,null],[1692822778,null],[1692822779,null],[1692822780,null],[1692822781,null],[1692822782,null],[1692822783,null],[1692822784,null],[1692822785,null],[1692822786,null],[1692822787,null],[1692822788,null],[1692822789,null],[1692822790,null],[1692822791,null],[1692822792,null],[1692822793,null],[1692822794,null],[1692822795,null],[1692822796,null],[1692822797,null],[1692822798,null],[1692822799,null],[1692822800,null],[1692822801,null],[1692822802,null],[1692822803,null],[1692822804,null],[1692822805,null],[1692822806,null],[1692822807,null],[1692822808,null],[1692822809,null],[1692822810,null],[1692822811,null],[1692822812,null],[1692822813,null],[1692822814,null],[1692822815,null],[1692822816,null],[1692822817,null],[1692822818,null],[1692822819,null],[1692822820,null],[1692822821,null],[1692822822,null],[1692822823,null],[1692822824,null],[1692822825,null],[1692822826,null],[1692822827,null],[1692822828,null],[1692822829,null],[1692822830,null],[1692822831,null],[1692822832,null],[1692822833,null],[1692822834,null],[1692822835,null],[1692822836,null],[1692822837,null],[1692822838,null],[1692822839,null],[1692822840,null],[1692822841,null],[1692822842,null],[1692822843,null],[1692822844,null],[1692822845,null],[1692822846,null],[1692822847,null],[1692822848,null],[1692822849,null],[1692822850,null],[1692822851,null],[1692822852,null],[1692822853,null],[1692822854,null],[1692822855,null],[1692822856,null],[1692822857,null],[1692822858,null],[1692822859,null],[1692822860,null],[1692822861,null],[1692822862,null],[1692822863,null],[1692822864,null],[1692822865,null],[1692822866,null],[1692822867,null],[1692822868,null],[1692822869,null],[1692822870,null],[1692822871,null],[1692822872,null],[1692822873,null],[1692822874,null],[1692822875,null],[1692822876,null],[1692822877,null],[1692822878,null],[1692822879,null],[1692822880,null],[1692822881,null],[1692822882,null],[1692822883,null],[1692822884,null],[1692822885,null],[1692822886,null],[1692822887,null],[1692822888,null],[1692822889,null],[1692822890,null],[1692822891,null],[1692822892,null],[1692822893,null],[1692822894,null],[1692822895,null],[1692822896,null],[1692822897,null],[1692822898,null],[1692822899,null],[1692822900,null],[1692822901,null],[1692822902,null],[1692822903,null],[1692822904,null],[1692822905,null],[1692822906,null],[1692822907,null],[1692822908,null],[1692822909,null],[1692822910,null],[1692822911,null],[1692822912,null],[1692822913,null],[1692822914,null],[1692822915,null],[1692822916,null],[1692822917,null],[1692822918,null],[1692822919,null],[1692822920,null],[1692822921,null],[1692822922,null],[1692822923,null],[1692822924,null],[1692822925,null],[1692822926,null],[1692822927,null],[1692822928,null],[1692822929,null],[1692822930,null],[1692822931,null],[1692822932,null],[1692822933,null],[1692822934,null],[1692822935,null],[1692822936,null],[1692822937,null],[1692822938,null],[1692822939,null],[1692822940,null],[1692822941,null],[1692822942,null],[1692822943,null],[1692822944,null],[1692822945,null],[1692822946,null],[1692822947,null],[1692822948,null],[1692822949,null],[1692822950,null],[1692822951,null],[1692822952,null],[1692822953,null],[1692822954,null],[1692822955,null],[1692822956,null]]);

var responsetimepercentilesovertimeokPercentilesChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'responsetimepercentilesovertimeokPercentilesContainer',
    zoomType: 'x',
    marginBottom: 60
  },
  colors: ['#c4fd90', '#7ff77f', '#6ff2ad', '#61ede6', '#58c7e0', '#4ea1d4', '#487ad9', '#3f52cc', '#7335dc', '#c73905', '#FFA900'],
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false,
    baseSeries: 9
  },
  rangeSelector: {
    rangeSelector: { align: "left" },
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#92918C',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
        },
        select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Response Time (ms)' },
      opposite: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  plotOptions: {
    arearange: { lineWidth: 1 },
    series: {
      dataGrouping: { enabled: false }
    }
  },
  series: [
  
    
         {
pointInterval: 1000,
name: 'min',
data: responsetimepercentilesovertimeokPercentiles[0],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 10
},
         {
pointInterval: 1000,
name: '25%',
data: responsetimepercentilesovertimeokPercentiles[1],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 9
},
         {
pointInterval: 1000,
name: '50%',
data: responsetimepercentilesovertimeokPercentiles[2],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 8
},
         {
pointInterval: 1000,
name: '75%',
data: responsetimepercentilesovertimeokPercentiles[3],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 7
},
         {
pointInterval: 1000,
name: '80%',
data: responsetimepercentilesovertimeokPercentiles[4],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 6
},
         {
pointInterval: 1000,
name: '85%',
data: responsetimepercentilesovertimeokPercentiles[5],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 5
},
         {
pointInterval: 1000,
name: '90%',
data: responsetimepercentilesovertimeokPercentiles[6],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 4
},
         {
pointInterval: 1000,
name: '95%',
data: responsetimepercentilesovertimeokPercentiles[7],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 3
},
         {
pointInterval: 1000,
name: '99%',
data: responsetimepercentilesovertimeokPercentiles[8],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 2
},
         {
pointInterval: 1000,
name: 'max',
data: responsetimepercentilesovertimeokPercentiles[9],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 1
},
  allUsersData
  ]
});

responsetimepercentilesovertimeokPercentilesChart.setTitle({
  text: '<span class="chart_title chart_title_">Response Time Percentiles over Time (OK)</span>',
  useHTML: true
});

var requests = unpack([[1692822752,[2,0,2]],[1692822753,[2,0,2]],[1692822754,[2,0,2]],[1692822755,[2,0,2]],[1692822756,[2,0,2]],[1692822757,[2,0,2]],[1692822758,[2,0,2]],[1692822759,[2,0,2]],[1692822760,[2,0,2]],[1692822761,[2,0,2]],[1692822762,[2,0,2]],[1692822763,[2,0,2]],[1692822764,[2,0,2]],[1692822765,[2,0,2]],[1692822766,[2,0,2]],[1692822767,[2,0,2]],[1692822768,[2,0,2]],[1692822769,[2,0,2]],[1692822770,[2,0,2]],[1692822771,[2,0,2]],[1692822772,[2,0,2]],[1692822773,[2,0,2]],[1692822774,[2,0,2]],[1692822775,[2,0,2]],[1692822776,[2,0,2]],[1692822777,[4,0,4]],[1692822778,[6,0,6]],[1692822779,[6,0,6]],[1692822780,[6,0,6]],[1692822781,[7,0,7]],[1692822782,[7,0,7]],[1692822783,[7,0,7]],[1692822784,[8,0,8]],[1692822785,[7,0,7]],[1692822786,[8,0,8]],[1692822787,[8,0,8]],[1692822788,[8,0,8]],[1692822789,[8,0,8]],[1692822790,[8,0,8]],[1692822791,[9,0,9]],[1692822792,[9,0,9]],[1692822793,[9,0,9]],[1692822794,[9,0,9]],[1692822795,[10,0,10]],[1692822796,[9,0,9]],[1692822797,[10,0,10]],[1692822798,[10,0,10]],[1692822799,[10,0,10]],[1692822800,[10,0,10]],[1692822801,[11,0,11]],[1692822802,[11,0,11]],[1692822803,[10,0,10]],[1692822804,[12,0,12]],[1692822805,[11,0,11]],[1692822806,[12,0,12]],[1692822807,[11,0,11]],[1692822808,[12,0,12]],[1692822809,[12,0,12]],[1692822810,[13,0,13]],[1692822811,[12,0,12]],[1692822812,[13,0,13]],[1692822813,[13,0,13]],[1692822814,[13,0,13]],[1692822815,[13,0,13]],[1692822816,[13,0,13]],[1692822817,[14,0,14]],[1692822818,[13,0,13]],[1692822819,[14,0,14]],[1692822820,[14,0,14]],[1692822821,[15,0,15]],[1692822822,[14,0,14]],[1692822823,[15,0,15]],[1692822824,[15,0,15]],[1692822825,[15,0,15]],[1692822826,[15,0,15]],[1692822827,[16,0,16]],[1692822828,[15,0,15]],[1692822829,[16,0,16]],[1692822830,[16,0,16]],[1692822831,[16,0,16]],[1692822832,[17,0,17]],[1692822833,[16,0,16]],[1692822834,[17,0,17]],[1692822835,[17,0,17]],[1692822836,[17,0,17]],[1692822837,[18,0,18]],[1692822838,[17,0,17]],[1692822839,[18,0,18]],[1692822840,[17,0,17]],[1692822841,[19,0,19]],[1692822842,[18,0,18]],[1692822843,[18,0,18]],[1692822844,[19,0,19]],[1692822845,[19,0,19]],[1692822846,[19,0,19]],[1692822847,[19,0,19]],[1692822848,[20,0,20]],[1692822849,[19,0,19]],[1692822850,[20,0,20]],[1692822851,[20,0,20]],[1692822852,[20,0,20]],[1692822853,[20,0,20]],[1692822854,[21,0,21]],[1692822855,[21,0,21]],[1692822856,[21,0,21]],[1692822857,[21,0,21]],[1692822858,[21,0,21]],[1692822859,[22,0,22]],[1692822860,[21,0,21]],[1692822861,[22,0,22]],[1692822862,[22,0,22]],[1692822863,[22,0,22]],[1692822864,[23,0,23]],[1692822865,[23,0,23]],[1692822866,[23,0,23]],[1692822867,[23,0,23]],[1692822868,[23,0,23]],[1692822869,[23,0,23]],[1692822870,[24,0,24]],[1692822871,[24,0,24]],[1692822872,[24,0,24]],[1692822873,[24,0,24]],[1692822874,[24,0,24]],[1692822875,[25,0,25]],[1692822876,[24,0,24]],[1692822877,[25,0,25]],[1692822878,[25,0,25]],[1692822879,[25,0,25]],[1692822880,[26,0,26]],[1692822881,[26,0,26]],[1692822882,[26,0,26]],[1692822883,[26,0,26]],[1692822884,[26,0,26]],[1692822885,[26,0,26]],[1692822886,[27,0,27]],[1692822887,[26,0,26]],[1692822888,[27,0,27]],[1692822889,[27,0,27]],[1692822890,[28,0,28]],[1692822891,[28,0,28]],[1692822892,[27,0,27]],[1692822893,[28,0,28]],[1692822894,[28,0,28]],[1692822895,[29,0,29]],[1692822896,[28,0,28]],[1692822897,[29,0,29]],[1692822898,[28,0,28]],[1692822899,[29,0,29]],[1692822900,[30,0,30]],[1692822901,[29,0,29]],[1692822902,[30,0,30]],[1692822903,[30,0,30]],[1692822904,[30,0,30]],[1692822905,[30,0,30]],[1692822906,[30,0,30]],[1692822907,[31,0,31]],[1692822908,[30,0,30]],[1692822909,[31,0,31]],[1692822910,[31,0,31]],[1692822911,[32,0,32]],[1692822912,[31,0,31]],[1692822913,[32,0,32]],[1692822914,[32,0,32]],[1692822915,[32,0,32]],[1692822916,[32,0,32]],[1692822917,[33,0,33]],[1692822918,[32,0,32]],[1692822919,[33,0,33]],[1692822920,[33,0,33]],[1692822921,[33,0,33]],[1692822922,[34,0,34]],[1692822923,[33,0,33]],[1692822924,[34,0,34]],[1692822925,[34,0,34]],[1692822926,[34,0,34]],[1692822927,[35,0,35]],[1692822928,[34,0,34]],[1692822929,[35,0,35]],[1692822930,[34,0,34]],[1692822931,[36,0,36]],[1692822932,[35,0,35]],[1692822933,[35,0,35]],[1692822934,[36,0,36]],[1692822935,[36,0,36]],[1692822936,[36,0,36]],[1692822937,[37,0,37]],[1692822938,[36,0,36]],[1692822939,[37,0,37]],[1692822940,[37,0,37]],[1692822941,[37,0,37]],[1692822942,[37,0,37]],[1692822943,[37,0,37]],[1692822944,[37,0,37]],[1692822945,[38,0,38]],[1692822946,[38,0,38]],[1692822947,[38,0,38]],[1692822948,[39,0,39]],[1692822949,[38,0,38]],[1692822950,[39,0,39]],[1692822951,[39,0,39]],[1692822952,[39,0,39]],[1692822953,[39,0,39]],[1692822954,[39,0,39]],[1692822955,[40,0,40]],[1692822956,[58,0,58]]]);

var requestsChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'requests',
    zoomType: 'x',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
         },
         select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  plotOptions: {
    series: {
      dataGrouping: { enabled: false }
    },
    area: {
      stacking: 'normal'
    }
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Number of requests' },
      opposite: false,
      reversedStacks: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  series: [
    {
color: '#5E7BE2',
name: 'All',
data: requests[0],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
    allUsersData
  ]
});

requestsChart.setTitle({
  text: '<span class="chart_title">Number of requests per second</span>',
  useHTML: true
});

var responses = unpack([[1692822752,[2,0,2]],[1692822753,[2,0,2]],[1692822754,[2,0,2]],[1692822755,[2,0,2]],[1692822756,[2,0,2]],[1692822757,[2,0,2]],[1692822758,[2,0,2]],[1692822759,[2,0,2]],[1692822760,[2,0,2]],[1692822761,[2,0,2]],[1692822762,[2,0,2]],[1692822763,[2,0,2]],[1692822764,[2,0,2]],[1692822765,[2,0,2]],[1692822766,[2,0,2]],[1692822767,[2,0,2]],[1692822768,[2,0,2]],[1692822769,[2,0,2]],[1692822770,[2,0,2]],[1692822771,[2,0,2]],[1692822772,[2,0,2]],[1692822773,[2,0,2]],[1692822774,[2,0,2]],[1692822775,[2,0,2]],[1692822776,[2,0,2]],[1692822777,[4,0,4]],[1692822778,[6,0,6]],[1692822779,[6,0,6]],[1692822780,[6,0,6]],[1692822781,[7,0,7]],[1692822782,[7,0,7]],[1692822783,[7,0,7]],[1692822784,[8,0,8]],[1692822785,[7,0,7]],[1692822786,[8,0,8]],[1692822787,[8,0,8]],[1692822788,[8,0,8]],[1692822789,[8,0,8]],[1692822790,[8,0,8]],[1692822791,[9,0,9]],[1692822792,[9,0,9]],[1692822793,[9,0,9]],[1692822794,[9,0,9]],[1692822795,[10,0,10]],[1692822796,[9,0,9]],[1692822797,[10,0,10]],[1692822798,[10,0,10]],[1692822799,[10,0,10]],[1692822800,[10,0,10]],[1692822801,[11,0,11]],[1692822802,[11,0,11]],[1692822803,[10,0,10]],[1692822804,[12,0,12]],[1692822805,[11,0,11]],[1692822806,[12,0,12]],[1692822807,[11,0,11]],[1692822808,[12,0,12]],[1692822809,[12,0,12]],[1692822810,[13,0,13]],[1692822811,[12,0,12]],[1692822812,[13,0,13]],[1692822813,[13,0,13]],[1692822814,[13,0,13]],[1692822815,[13,0,13]],[1692822816,[13,0,13]],[1692822817,[14,0,14]],[1692822818,[13,0,13]],[1692822819,[14,0,14]],[1692822820,[14,0,14]],[1692822821,[15,0,15]],[1692822822,[14,0,14]],[1692822823,[15,0,15]],[1692822824,[15,0,15]],[1692822825,[15,0,15]],[1692822826,[15,0,15]],[1692822827,[16,0,16]],[1692822828,[15,0,15]],[1692822829,[16,0,16]],[1692822830,[16,0,16]],[1692822831,[16,0,16]],[1692822832,[17,0,17]],[1692822833,[16,0,16]],[1692822834,[17,0,17]],[1692822835,[17,0,17]],[1692822836,[17,0,17]],[1692822837,[18,0,18]],[1692822838,[17,0,17]],[1692822839,[18,0,18]],[1692822840,[17,0,17]],[1692822841,[19,0,19]],[1692822842,[18,0,18]],[1692822843,[18,0,18]],[1692822844,[19,0,19]],[1692822845,[19,0,19]],[1692822846,[19,0,19]],[1692822847,[19,0,19]],[1692822848,[20,0,20]],[1692822849,[19,0,19]],[1692822850,[20,0,20]],[1692822851,[20,0,20]],[1692822852,[20,0,20]],[1692822853,[20,0,20]],[1692822854,[21,0,21]],[1692822855,[21,0,21]],[1692822856,[21,0,21]],[1692822857,[21,0,21]],[1692822858,[21,0,21]],[1692822859,[22,0,22]],[1692822860,[21,0,21]],[1692822861,[22,0,22]],[1692822862,[22,0,22]],[1692822863,[22,0,22]],[1692822864,[23,0,23]],[1692822865,[23,0,23]],[1692822866,[23,0,23]],[1692822867,[23,0,23]],[1692822868,[23,0,23]],[1692822869,[23,0,23]],[1692822870,[24,0,24]],[1692822871,[24,0,24]],[1692822872,[24,0,24]],[1692822873,[24,0,24]],[1692822874,[24,0,24]],[1692822875,[24,0,24]],[1692822876,[25,0,25]],[1692822877,[25,0,25]],[1692822878,[25,0,25]],[1692822879,[25,0,25]],[1692822880,[26,0,26]],[1692822881,[26,0,26]],[1692822882,[26,0,26]],[1692822883,[26,0,26]],[1692822884,[26,0,26]],[1692822885,[26,0,26]],[1692822886,[27,0,27]],[1692822887,[26,0,26]],[1692822888,[27,0,27]],[1692822889,[27,0,27]],[1692822890,[28,0,28]],[1692822891,[28,0,28]],[1692822892,[27,0,27]],[1692822893,[28,0,28]],[1692822894,[28,0,28]],[1692822895,[29,0,29]],[1692822896,[28,0,28]],[1692822897,[29,0,29]],[1692822898,[28,0,28]],[1692822899,[29,0,29]],[1692822900,[30,0,30]],[1692822901,[29,0,29]],[1692822902,[30,0,30]],[1692822903,[30,0,30]],[1692822904,[30,0,30]],[1692822905,[30,0,30]],[1692822906,[30,0,30]],[1692822907,[31,0,31]],[1692822908,[30,0,30]],[1692822909,[31,0,31]],[1692822910,[31,0,31]],[1692822911,[32,0,32]],[1692822912,[31,0,31]],[1692822913,[32,0,32]],[1692822914,[32,0,32]],[1692822915,[32,0,32]],[1692822916,[32,0,32]],[1692822917,[33,0,33]],[1692822918,[32,0,32]],[1692822919,[33,0,33]],[1692822920,[33,0,33]],[1692822921,[33,0,33]],[1692822922,[34,0,34]],[1692822923,[33,0,33]],[1692822924,[34,0,34]],[1692822925,[34,0,34]],[1692822926,[34,0,34]],[1692822927,[35,0,35]],[1692822928,[34,0,34]],[1692822929,[35,0,35]],[1692822930,[34,0,34]],[1692822931,[36,0,36]],[1692822932,[35,0,35]],[1692822933,[35,0,35]],[1692822934,[36,0,36]],[1692822935,[36,0,36]],[1692822936,[36,0,36]],[1692822937,[37,0,37]],[1692822938,[36,0,36]],[1692822939,[37,0,37]],[1692822940,[37,0,37]],[1692822941,[37,0,37]],[1692822942,[37,0,37]],[1692822943,[37,0,37]],[1692822944,[37,0,37]],[1692822945,[38,0,38]],[1692822946,[38,0,38]],[1692822947,[38,0,38]],[1692822948,[39,0,39]],[1692822949,[38,0,38]],[1692822950,[39,0,39]],[1692822951,[39,0,39]],[1692822952,[39,0,39]],[1692822953,[39,0,39]],[1692822954,[39,0,39]],[1692822955,[40,0,40]],[1692822956,[58,0,58]]]);

var requestsChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'responses',
    zoomType: 'x',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
         },
         select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  plotOptions: {
    series: {
      dataGrouping: { enabled: false }
    },
    area: {
      stacking: 'normal'
    }
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Number of responses' },
      opposite: false,
      reversedStacks: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  series: [
    {
color: '#5E7BE2',
name: 'All',
data: responses[0],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
},
{
color: '#68b65c',
name: 'OK',
data: responses[1],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
{
color: '#f15b4f',
name: 'KO',
data: responses[2],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
    allUsersData,
{
  
type: 'pie',
name: 'Distribution',
data: [
  {name: 'OK', y: 0.0, color: '#68b65c'},{name: 'KO', y: 4190.0, color: '#f15b4f'}
],
center: [775, -40],
size: 70,
showInLegend: false,
dataLabels: { enabled: false },
dataGrouping: { enabled: false }

}

  ]
});

requestsChart.setTitle({
  text: '<span class="chart_title">Number of responses per second</span>',
  useHTML: true
});

var scatterChart = new Highcharts.Chart({
  chart: {
    renderTo: 'container_response_time_dispersion', 
    defaultSeriesType: 'scatter',
    zoomType: 'xy',
    marginBottom: 90
  },
  credits: { enabled: false },
  xAxis: {
    title: {
      enabled: true,
      text: 'Global number of requests per second',
      style: { fontWeight: 'bold' }
    },
    startOnTick: true,
    endOnTick: true,
    showLastLabel: true,
    min: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  yAxis: {
    min: 0,
    title: { text: 'Response Time (ms)' }
  },
  tooltip: {
    formatter: function() {
         return ''+ this.y +' ms at ' + this.x + ' allreq/s';
    }
  },
  legend: {
    enabled: true,
    floating: true,
    y: 0,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
  },
  plotOptions: {
    scatter: {
      marker: {
        radius: 3,
        states: {
          hover: {
            enabled: true,
            lineColor: 'rgb(100,100,100)'
          }
        }
      },
      states: {
        hover: {
          marker: { enabled: false }
        }
      }
    }
  },
  series: [
	  {
type: 'scatter',
color: '#68b65c',
name: 'OK',
data: [
[]
]},
	  {
type: 'scatter',
color: '#f15b4f',
name: 'KO',
data: [
[5,1],[6,3],[6,1],[6,1],[6,1],[6,1],[6,1],[6,9],[6,2],[6,1],[6,1],[6,1],[6,1],[6,1],[7,1],[8,0],[8,1],[8,1],[8,0],[8,1],[8,1],[10,1],[11,1],[12,1],[12,1],[18,1],[21,1],[26,1],[30,1],[35,1],[37,1],[42,2],[47,1],[50,1],[55,1],[58,1],[62,1],[67,1],[70,1],[75,1],[77,1],[83,1],[86,0],[91,1],[94,1],[99,0],[102,2],[106,0],[110,1],[116,1],[118,1],[121,0],[127,0],[131,1],[135,1],[138,0],[142,1],[147,1],[151,1],[154,1],[159,1],[163,1],[167,1],[170,1],[175,1],[178,1],[182,1],[186,1],[191,1],[195,0],[199,1],[203,1],[206,1],[210,1],[216,1],[219,1],[222,1],[226,1],[232,1],[234,1],[239,0],[243,0],[247,1],[250,0],[256,0],[259,0],[262,0],[267,1],[271,1],[275,1],[279,1],[282,1],[287,1],[288,1],[298,1],[299,1],[304,1],[305,1],[311,1],[316,1],[319,1],[322,1],[327,0],[332,0],[335,1],[340,1],[342,1],[347,0],[351,0],[356,0],[359,1],[362,1],[368,0],[372,0],[375,0],[379,0],[383,0],[387,0],[391,0],[396,0],[399,0],[403,0],[406,0],[413,1],[415,1],[419,0],[422,0],[428,1],[432,1],[436,1],[439,0],[443,0],[447,0],[452,0],[456,0],[458,1],[463,1],[468,1],[472,0],[476,0],[478,0],[484,0],[487,0],[492,1],[495,1],[500,0],[502,1],[508,1],[512,1],[515,1],[521,1],[524,1],[527,1],[532,0],[535,1],[539,0],[543,0],[547,0],[553,1],[556,1],[559,1],[563,1],[568,0],[572,1],[576,1],[580,0],[583,0],[588,0],[591,0],[596,1],[600,1],[604,1],[607,1],[612,1],[617,1],[621,1],[622,0],[628,0],[631,0],[638,0],[640,1],[642,1],[649,1],[652,1],[656,0],[660,1],[664,1],[668,1],[672,1],[676,0],[680,0],[684,0],[687,0],[692,0],[697,1],[700,1],[704,0],[707,0],[713,0],[717,0],[720,0],[724,1],[727,1],[733,1],[1074,1]
]}
	]
});

scatterChart.setTitle({
  text: '<span class="chart_title">Response Time against Global Throughput</span>',
  useHTML: true
});

    });
</script>
</div>
</body>
</html>
